package com.pap.product.item.agent.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.pap.base.service.impl.PapBaseServiceImpl;
import com.pap.product.agent.item.IItemAgent;
import com.pap.product.agent.item.dto.ItemCheckDTO;
import com.pap.product.item.auto.entity.Item;
import com.pap.product.item.auto.mapper.ItemMapper;

@Transactional
@Service("itemAgent")
public class ItemAgentImpl extends PapBaseServiceImpl<Item> implements IItemAgent {

	@Autowired
	private ItemMapper itemMapper;
	
	@Override
	public List<ItemCheckDTO> selectItemTypeAndValueTypeForList(String clientLicenseId) {
		return itemMapper.selectItemTypeAndValueTypeForList(clientLicenseId);
	}

}
